package com.zhoug.common3.fileselector;


import com.zhoug.common3.fileselector.selector.OnCaptureClick;

/**
 *
 * @Author 35574
 * @Date 2020/8/14
 * @Description
 */
public class FileSelectorHelper {
    /**
     * 选择文件时,单击相机的回掉
     * 为null时调用系统的拍照/摄像/录音方法
     */
    private static OnCaptureClick onCaptureClick;

    public static OnCaptureClick getOnCaptureClick() {
        return onCaptureClick;
    }

    /**
     * 设置单击相机按钮监听器
     * @param onCaptureClick
     */
    public static void setOnCaptureClick(OnCaptureClick onCaptureClick) {
        FileSelectorHelper.onCaptureClick = onCaptureClick;
    }


}
